kbuild: Do not use hyphen in exported variable name
authorBen Hutchings <ben@decadent.org.uk>
Fri, 26 Aug 2016 00:31:28 +0000 (01:31 +0100)
committerYves-Alexis Perez <corsac@debian.org>
Fri, 9 Feb 2018 12:58:52 +0000 (12:58 +0000)
commit071f75a124716d184f0421069d76d27f899c446f
tree52f81d0cd57c398ec7790abe0066b1e2564a1e33
parent4307a1e783ca76bfe5c23bf539776a82b3365058
kbuild: Do not use hyphen in exported variable name

This definition in Makefile.dtbinst:

    export dtbinst-root ?= $(obj)

should define and export dtbinst-root when handling the root dts
directory, and do nothing in the subdirectories.  However, the
variable does not reliably get exported to the environment, perhaps
because its name contains a hyphen.

Rename the variable to dtbinst_root.

References: https://bugs.debian.org/833561
Fixes: 323a028d39cdi ("dts, kbuild: Implement support for dtb vendor subdirs")
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name kbuild-do-not-use-hyphen-in-exported-variable-name.patch
scripts/Makefile.dtbinst